home *** CD-ROM | disk | FTP | other *** search
/ The Amiga Classic Collection / The Amiga Classic Collection - Disc 1.iso / Education / ED16-CrosswordCreator.DMS / ED16-CrosswordCreator.adf / InstallLibrary < prev    next >
Text File  |  1991-07-13  |  841b  |  26 lines

  1. .K ""
  2. echo "This script will install arp.library, after checking to see if"
  3. echo "you already have one.  If so, it will check the version numbers"
  4. echo "of the installed one, and the one in this directory, and give"
  5. echo "you the option of installing the one found here."
  6. echo ""
  7.  
  8. if not EXISTS libs:arp.library
  9.         echo "No existing library, installing libs:arp.library..."
  10.         copy arp.library libs:arp.library
  11. else
  12.         echo "Examine the version numbers of each library."
  13.         echo ""
  14.         version libs:arp.library
  15.         version arp.library
  16.         echo ""
  17.         ask "Do you wish to overwrite libs:arp.library?"
  18.         if WARN
  19.                 echo "Updating libs:arp.library..."
  20.                 copy arp.library libs:arp.library
  21.         endif
  22. endif
  23.  
  24. echo "All Done.  Click close gadget to get rid of window."
  25. endcli
  26.